package com.ruoyi.system.mapper;

import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.system.domain.Driver;
import com.ruoyi.system.domain.DriverRecord;

import java.util.List;

/**
 * 用户表 数据层
 * 
 * @author ruoyi
 */
public interface QrcodeMapper
{
    public int insertDriver(Driver driver);

    public List<Driver> queryDriverByOpenId(Driver driver);

    public Driver queryDriverDetail(String id);

    public List<DriverRecord> queryDriverRecord(DriverRecord driverRecord);

    public List<DriverRecord> queryDriverRecordByOpenId(DriverRecord driverRecord);

    public int insertRecord(DriverRecord driverRecord);

    public int queryMonthRecordCount(DriverRecord driverRecord);

    public int queryTrunkDayNum(DriverRecord driverRecord);

    public int queryTrunkAccNum(DriverRecord driverRecord);

    public int queryMaterDayNum(DriverRecord driverRecord);

    public int queryMaterAccNum(DriverRecord driverRecord);



}
